<!--
 * @Author: linzaifei 1609781601@qq.com
 * @Date: 2025-07-22 09:00:22
 * @LastEditors: linzaifei 1609781601@qq.com
 * @LastEditTime: 2025-07-22 09:07:45
 * @FilePath: /amap-web-vr/src/views/home/control/vc-my-zuji/vc-my-zuji-close-button.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>

  <div class="vc-my-zuji-close-button vc-button" :style="positionStyle" @click="onClick">
        <span >关闭</span>
    </div>
</template>

<script setup lang="ts">
import { positionProps, usePosition } from "../composables/usePosition";
const props = defineProps({
  ...positionProps,
});
const { positionStyle } = usePosition(props);
const emit = defineEmits(['tap']);
const onClick=()=>{
    emit('tap', { event: 'click' });
}
</script>
<style>
.vc-my-zuji-close-button {
    position: absolute;
    top: 40px !important;
    left: 15px;
    span{
        font-size: var(--font-size-xs) !important;
        font-weight: bold !important;
    }
    
}

</style>